<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <input type="hidden" name="row[type]" value="1">
    <div class="form-group classify1">
        <label class="control-label col-xs-12 col-sm-2">{:__('Classify1')}:{$row['classify1']}</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('classify1', $classify1Data, $row['classify1'])}
        </div>
    </div>
    <div class="form-group classify2">
        <label class="control-label col-xs-12 col-sm-2">{:__('Classify2')}:{$row['classify2']}</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('classify2', $classify2Data[$row['classify1']], $row['classify2'])}
        </div>
    </div>
    <div class="form-group classify3">
        <label class="control-label col-xs-12 col-sm-2">{:__('Classify3')}:{$row['classify_id']}</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[classify_id]', $classify2Data[$row['classify2']], $row['classify_id'])}
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-title" class="form-control form-control" name="row[title]" type="text" value="{$row.title}" data-rule="required">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Content')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-content" class="form-control editor form-control" rows="5" name="row[content]" cols="50" data-rule="required">{$row.content}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Hits')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-hits" data-rule="required" class="form-control form-control" name="row[hits]" type="number" value="{$row.hits}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Weigh')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-weigh" class="form-control form-control" name="row[weigh]" type="number" value="{$row.weigh}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>